<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%
    //获取项目的url地址	
    String basePath = request.getScheme() + "://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>登录</title>
</head>
<body>
	<center>
		 <form action="<%=basePath %>/Login" method="post">
			<p>用户名：<input type="text" name="username"></p>
			<p>密&nbsp;码：<input type="password" name="password"></p>
			
			<p><input type="submit" value="登录"></p>
		</form>
	</center>
</body>
</html>